package com.kaili.db.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.pojo.entity.HsOptEwbAppoint;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.kaili.pojo.vo.AppointQueryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@Mapper
public interface HsOptEwbAppointMapper extends BaseMapper<HsOptEwbAppoint> {
    List<AppointQueryVO> queryEwbAppointList(Pagination page, Map search);

    List<AppointQueryVO> queryEwbAppointList(Map search);

   // List<EwbAppointExportVO> getExportEwbAppointList(Map search);

    public void updateByAppointNo(HsOptEwbAppoint ewbAppoint);

    AppointQueryVO queryByAppointNo(String appointNo);

    void deleteByAppointNo(String appointNo);

    public void updateDeliveryTimeByAppointNo(HsOptEwbAppoint ewbAppoint);

    List<AppointQueryVO> queryUnBillingAppointList(Pagination page, Map search);

}
